package com.example.demo.many2many;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Many2ManyQueueConfig {

    public static final String queueName = "Many->Many";

    @Bean
    public Queue many2ManyQueue() {
        return new Queue(Many2ManyQueueConfig.queueName);
    }
}
